﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VisionApp.Entity
{
    public class RobDataMediaType:InMediaTypeBase<RobDataContainer>
    {
        public RobDataMediaType()
        {
            MsgType = MsgTypeEnum.RobData;
        }
    }

    public class RobDataContainer
    {
        public RobCmdEnum Name { get; set; }
        public double[] Data { get; set; }
        public string Str { get; set; }
        public string ClientIp { get; set; }
    }

    public enum RobCmdEnum
    {
        Trig=1,
        Stop=2,
        CalPart=3,
        GetCamOffs = 4,
        GetDoorOffset = 5,
        BarCode = 9,
        CarModel = 10
    }
}
